package com.inspur.sc.springboot.convert;

import com.inspur.sc.springboot.entity.SysUser;
import com.inspur.sc.springboot.vo.SysUserVO;
import org.springframework.beans.BeanUtils;

public class SysUserConvertSysUserVO {

    public static SysUserVO convert(SysUser sysUser){
        SysUserVO userVO=new SysUserVO();
        BeanUtils.copyProperties(sysUser,userVO);
        return userVO;
    }
}
